package org.example.service;

import org.example.dao.UserDao;

public class UserService {

    public UserDao userDao;

//    set注入
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void HelloUserService(){
        System.out.println("hello UserService");
        userDao.HelloUserDao();
    }
}
